package com.sm.li.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.sm.li.dto.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Null;
import java.time.LocalDateTime;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MenuDTO extends BaseDTO {


//    private Long id;

    private String menuTitle;

    private Long parentId;

    private Integer menuType;

    private Integer sort;

    private String menuRouter;

    private String menuIcon;

    private String componentPath;

    private String componentName;

    private String permSign;

//    private Long createBy;
//
//    private LocalDateTime createTime;
//
//    private Long updateBy;
//
//    private LocalDateTime updateTime;

    private List<MenuDTO> children;
}
